//
//  YBApiManager+Friend.h
//  ChangChat
//
//  Created by Cocoa on 2019/9/2.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "YBApiManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface YBApiManager (Friend)

- (RACSignal *)getFriendList;
- (RACSignal *)getFriend_groupList;
- (RACSignal *)getNewFriendList;
- (RACSignal *)addOrEditAddressGroupWithName:(NSString *)name sortID:(NSString *)sort_id;
- (RACSignal *)deleteAddressGroupWithSortID:(NSString *)sort_id;
- (RACSignal *)moveFriendToNewGroupWithSortID:(NSString *)sort_id friend_id:(NSString *)friend_id;
- (RACSignal *)moveFriendToBlacklistWithFriend_id:(NSString *)friend_id;
- (RACSignal *)searchUserWithWord:(NSString *)word;
- (RACSignal *)searchUserWithUid:(NSString *)user_id;
- (RACSignal *)addFriendWithId:(NSString *)ID nickname:(NSString *)nickname type:(NSString *)type content:(NSString *)content;
- (RACSignal *)agreeFriendRequestWithFriend_id:(NSString *)friend_id nickname:(NSString *)nickname type:(NSString *)type;
- (RACSignal *)rejectFriendRequestWithFriend_id:(NSString *)friend_id;
- (RACSignal *)getFriendInfoWithId:(NSString *)friend_id;
- (RACSignal *)setFriendRemarkWithId:(NSString *)friend_id nickname:(NSString *)nickname;
- (RACSignal *)deleteFriendWithId:(NSString *)friend_id;
- (RACSignal *)reportUserWithUserid:(NSString *)friend_id content:(NSString *)content;

@end

NS_ASSUME_NONNULL_END
